"use strict";
cc._RF.push(module, '2912ay2Cu9MapS2GvBwjUuq', 'RandomActiveOnce');
// scripts/RandomActiveOnce.js

"use strict";

var e = require;
var t = module;
cc.Class({
  "extends": cc.Component,
  properties: {
    ActiveGroups: {
      type: cc.Node,
      "default": []
    }
  },
  start: function start() {
    for (var e; e <= this.ActiveGroups.Length; e++) {
      this.ActiveGroups[e].active = !1;
    }

    var t = Math.round(Math.random() * (this.ActiveGroups.length - 1));
    this.ActiveGroups[t] && (this.ActiveGroups[t].active = !0);
  }
});

cc._RF.pop();